xend: Better support for legacy HVM config with hvmloader configured
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 11 Feb 2008 14:42:52 +0000 (14:42 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 11 Feb 2008 14:42:52 +0000 (14:42 +0000)
commit81375c4b062c25871e2af0b45977b4a0a2141250
treeed5bf2849eb72142663b8c4029036c855cb2c545
parent25c2136e0d717a4ca0275efe5270e0f9da2c7aea
xend: Better support for legacy HVM config with hvmloader configured
via the 'kernel' config option:
 1. Look for any string containing 'hvmloader'.
 2. The 'kernel' option must be scrubbed to avoid taking
 PV-kernel-loading paths during later guest setup.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
tools/python/xen/xend/XendConfig.py
tools/python/xen/xend/image.py